const tokenKey = 'jikeyuan'

// 设置token
export const setToken = (value) => localStorage.setItem(tokenKey, value)

// 获取token
export const getToken = () => localStorage.getItem(tokenKey)

// 移除token
export const removeToken = () => localStorage.removeItem(tokenKey)

// 判断token是否存在
export const hasToken = () => !!localStorage.getItem(tokenKey)
